import { hashMessage } from '@/api/userVote'

const actions = {
    hashMessage({ commit }) {
        return new Promise((resolve, reject) => {
            hashMessage().then(response => {
                resolve(response.data)
            }).catch(error => {
                reject(error)
            })
        })
    },
}

export default {
    namespaced: true,
    actions
}  